package com.example.lemis.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class UserRegisterRequest {
    @NotBlank(message = "手机号不能为空")
    private String tele;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "用户名不能为空")
    private String name;
    @NotBlank(message = "请再次输入密码")
    private String confirmPassword;

    public String getPhoneNumber() {
        return this.tele;
    }

    public String getPassword() {
        return this.password;
    }

    public String getConfirmPassword() {
        return this.confirmPassword;
    }

    public String getName() {
        return name;
    }
}
